<!DOCTYPE html>
<html>
        <% include head.html %>
    <body>
    <div class="container">
        <div class="row">
            <div class="col-md-4 col-md-offset-4">
                <div class="login-panel panel panel-default">
                    <div class="panel-heading">
                        <h3 class="panel-title">请登录</h3>
                    </div>
                    <div class="panel-body">
                        <form role="form" id = 'login' action="#" method='post'>
                            <fieldset>
                                <div class="form-group">
                                    <input class="form-control" id = 'username' placeholder="手机号/会员名" autofocus>
                                </div>
                                <div class="form-group">
                                    <input class="form-control" id = 'password' placeholder="密码" name="password" type="password">
                                </div>
                                <!-- Change this to a button or input when using this as a form -->
                                <button type = 'submit' id="submit" class="btn btn-lg btn-success btn-block" onclick = 'login()'>登录</button>
                            </fieldset>
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
        <% include script.html %>
        <script src = '/script/login.js'></script>
        <script src = '/script/form.js'></script>
    </body>
</html>